import re
from getsq import getnewsq, getzhakg

StrContent = "闸 60 3"
zhaStr_list = re.findall(r".*?闸 \d+ \d+", StrContent)
if zhaStr_list:
    zhaStr_list = re.findall(r"闸 (\d+) (\d+)", StrContent)
    print(
        getzhakg(zhaDetail=StrContent,
                 liuliang=zhaStr_list[0][0],
                 zhakong=zhaStr_list[0][1],
                 zhakuan=10,
                 xishu=3.98,
                 xishuE=1.1))
